﻿using DevExpress.XtraBars.Ribbon;
using HospitalErpWinUI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HospitalErpWinUI.hbos.acct.vouch.querynew
{
    public partial class main : RibbonForm
    {
        public main()
        {
            InitializeComponent();
        }

        private void Btn_new_Click(object sender, EventArgs e)
        {
            hbos.acct.vouch.query.newinsert.main pzlu = new hbos.acct.vouch.query.newinsert.main();
            pzlu.StartPosition = FormStartPosition.CenterParent;
            pzlu.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            pzlu.ShowDialog();
            //pzlu.Dispose();
        }

        private void main_Load(object sender, EventArgs e)
        {
              
        }

        private void main_Paint(object sender, PaintEventArgs e)
        {
            //Graphics g = e.Graphics;
            
            //Pen mypengreen = new Pen(Color.Green, 10);
            //g.DrawLine(mypengreen, 300, 300, 500, 500);
            //MessageBox.Show("eedddddd");
        }

        private void textEdit3_Paint(object sender, PaintEventArgs e)
        {
            //Graphics g = e.Graphics;
            //textEdit3.Text = textEdit3.Location.X.ToString();
            //Pen mypengreen = new Pen(Color.Green, 10);
            //g.DrawLine(mypengreen, 300, 300, 500, 500); 
        }

    }
}
